USAGE: globalfeats inimg [-L]
globalfeats determines some global features
of input image and prints out these results to stdout;
global features determined are:
-- image size
-- total number of pixels
-- number of ON-valued pixels
-- percentage of ON-valued pixels to total pixels
-- 1st moment or average x,y coordinate location of ON-pixels
-- 2nd moment of x,y locations of ON-pixels
-- number of edge pixels
-- percentage of edge pixels to total pixels.
NOTE: that the calculations are performed on all pixels
EXCEPT the 1-pixel wide borders of pixels at the sides
of the image.
ARGUMENTS:
inimg: input image filename (TIF)
Example:
globalfeats magstrp.tif
magstrp.tif:
output:
Image size: 512x480
Image size within 1-pixel border: 510x478
Number of Pixels: 243780
Number of ON-pixels: 82253, ( 33.7%)
1st Moment: (257.83, 231.86)
2nd Moment: (143.83, 139.25)
Number of Edge Pixels: 56773, ( 23.3%)
Copyright (C) 1999 MLMSoftware Group, LLC.